package cn.stylefeng.guns.sys.modular.tao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 库存单位表
 * </p>
 *
 * @author 
 * @since 2019-08-09
 */
@TableName("tao_goods_skus")
public class GoodsSkus implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 库存id编号
     */
    @TableId(value = "skuid", type = IdType.ID_WORKER)
    private Long skuid;

    /**
     * 商品id编号
     */
    @TableField("ptypeid")
    private Long ptypeid;

    /**
     * 商品编号
     */
    @TableField("skucode")
    private String skucode;

    /**
     * 单位条形码
     */
    @TableField("fullbarcode")
    private String fullbarcode;

    @TableField("prop1")
    private String prop1;

    @TableField("prop2")
    private String prop2;

    /**
     * 基本单位
     */
    @TableField("unitname")
    private String unitname;

    @TableField("unitid")
    private String unitid;

    @TableField("ucode")
    private BigDecimal ucode;

    @TableField("urate")
    private BigDecimal urate;

    @TableField("prop1id")
    private String prop1id;

    @TableField("prop2id")
    private String prop2id;


    public Long getSkuid() {
        return skuid;
    }

    public void setSkuid(Long skuid) {
        this.skuid = skuid;
    }

    public Long getPtypeid() {
        return ptypeid;
    }

    public void setPtypeid(Long ptypeid) {
        this.ptypeid = ptypeid;
    }

    public String getSkucode() {
        return skucode;
    }

    public void setSkucode(String skucode) {
        this.skucode = skucode;
    }

    public String getFullbarcode() {
        return fullbarcode;
    }

    public void setFullbarcode(String fullbarcode) {
        this.fullbarcode = fullbarcode;
    }

    public String getProp1() {
        return prop1;
    }

    public void setProp1(String prop1) {
        this.prop1 = prop1;
    }

    public String getProp2() {
        return prop2;
    }

    public void setProp2(String prop2) {
        this.prop2 = prop2;
    }

    public String getUnitname() {
        return unitname;
    }

    public void setUnitname(String unitname) {
        this.unitname = unitname;
    }

    public String getUnitid() {
        return unitid;
    }

    public void setUnitid(String unitid) {
        this.unitid = unitid;
    }

    public BigDecimal getUcode() {
        return ucode;
    }

    public void setUcode(BigDecimal ucode) {
        this.ucode = ucode;
    }

    public BigDecimal getUrate() {
        return urate;
    }

    public void setUrate(BigDecimal urate) {
        this.urate = urate;
    }

    public String getProp1id() {
        return prop1id;
    }

    public void setProp1id(String prop1id) {
        this.prop1id = prop1id;
    }

    public String getProp2id() {
        return prop2id;
    }

    public void setProp2id(String prop2id) {
        this.prop2id = prop2id;
    }

    @Override
    public String toString() {
        return "GoodsSkus{" +
        "skuid=" + skuid +
        ", ptypeid=" + ptypeid +
        ", skucode=" + skucode +
        ", fullbarcode=" + fullbarcode +
        ", prop1=" + prop1 +
        ", prop2=" + prop2 +
        ", unitname=" + unitname +
        ", unitid=" + unitid +
        ", ucode=" + ucode +
        ", urate=" + urate +
        ", prop1id=" + prop1id +
        ", prop2id=" + prop2id +
        "}";
    }
}
